{template 'common/header'}
<div class="we7-page-title">系统信息</div>
<ul class="we7-page-tab"></ul>
<div class="main">

	<table class="table we7-table table-hover site-list" id="system-info" ng-controller="systemInfoCtrl" ng-cloak>
		<tr>
			<th colspan="2" class="text-left">系统信息</th>
		</tr>
		<tr>
			<td class="text-left">微擎程序版本</td>
			<td class="text-left">WeEngine {php echo IMS_VERSION;} Release {php echo IMS_RELEASE_DATE;} &nbsp; &nbsp;
				<a href="http://www.we7.cc" target="_blank" style="color: #428bca;">查看最新版本</a>
			</td>
		</tr>
		<tr>
			<td class="text-left">产品系列</td>
			<td class="text-left">
				{if IMS_FAMILY == 'v'}
				您的产品是开源版, 没有购买商业授权, 不能用于商业用途
				{elseif IMS_FAMILY == 's'}
				您的产品是授权版
				{elseif IMS_FAMILY == 'x'}
				您的产品是商业版
				{else}
				您的产品是单版
				{/if}
			</td>
		</tr>
		<tr>
			<td class="text-left">服务器系统</td>
			<td class="text-left">{$info['os']}</td>
		</tr>
		<tr>
			<td class="text-left">PHP版本 </td>
			<td class="text-left">PHP Version {$info['php']}</td>
		</tr>
		<tr>
			<td class="text-left">服务器软件</td>
			<td class="text-left">{$info['sapi']}</td>
		</tr>
		<tr>
			<td class="text-left">服务器 MySQL 版本</td>
			<td class="text-left">{$info['mysql']['version']}</td>
		</tr>
		<tr>
			<td class="text-left">上传许可</td>
			<td class="text-left">{$info['limit']}</td>
		</tr>
		<tr>
			<td class="text-left">当前数据库尺寸</td>
			<td class="text-left">{$info['mysql']['size']}</td>
		</tr>
		<tr>
			<td class="text-left">当前附件根目录</td>
			<td class="text-left">{$info['attach']['url']}</td>
		</tr>
		<tr>
			<td class="text-left">当前附件尺寸</td>
			<td class="text-left">
				<a href="javascript:;" id="attach-size" ng-click="attachSize()" style="color: #428bca;" >{{ content }}</a>
			</td>
		</tr>
	</table>

	{if $_W['isfounder']}
	<table class="table we7-table table-hover site-list">
		<col width="150px" />
		<col width="" />
		<th colspan="2" class="text-left">微擎开发团队</th>
		<tr>
			<td class="text-left">版权所有</td>
			<td>
				<a href="http://www.we7.cc/" target="_blank" style="color: #428bca;"><b>We7 Team</b></a>
			</td>
		</tr>
		<tr>
			<td class="text-left">Team 成员</td>
			<td class="text-left">
				<a href="http://bbs.we7.cc/?10906" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">袁文涛</a>; &nbsp;
				<a href="http://bbs.we7.cc/?83" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">任超 (米粥)</a>; &nbsp;
				<a class="lightlink2 smallfont" target="_blank" style="color: #428bca;">马德坤</a>; &nbsp;
				<a href="http://bbs.we7.cc/?19511" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">宋建君 (Gorden)</a>; &nbsp;
				<a href="http://bbs.we7.cc/?64869" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">姚晶晶</a>; &nbsp;
				<a href="http://bbs.we7.cc/?83750" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">赵波</a>; &nbsp;
				<a href="http://bbs.we7.cc/?90981" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">曹春江</a>; &nbsp;
				<a href="http://bbs.we7.cc/?111463" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">杨峰</a>; &nbsp;
				<a href="http://bbs.we7.cc/?38439" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">卜睿君</a>; &nbsp;
				<a class="lightlink2 smallfont" target="_blank" style="color: #428bca;">张宏</a>; &nbsp;
				<a class="lightlink2 smallfont" target="_blank" style="color: #428bca;">高建业</a>; &nbsp;
				<br /><br />
				<a href="http://bbs.we7.cc/?56310" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">侯琪琪 (琪琪)</a>; &nbsp;
				<a href="http://bbs.we7.cc/?52995" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">杨欣雨 (小雨)</a>; &nbsp;
				<a href="http://bbs.we7.cc/?11877" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">赵小雷 (擎擎)</a>; &nbsp;
				<a href="http://bbs.we7.cc/?75780" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">蔡帅帅 (小帅)</a>; &nbsp;
				<a href="http://bbs.we7.cc/?80040" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">朱传宝 (阿宝)</a>; &nbsp;
				<a href="http://bbs.we7.cc/?98655" class="lightlink2 smallfont" target="_blank" style="color: #428bca;">蒋康康 (阿康)</a>; &nbsp;
				<a class="lightlink2 smallfont" target="_blank" style="color: #428bca;">王鹏 (鹏鹏)</a>; &nbsp;
			</td>
		</tr>
		<tr>
			<td class="text-left">官方交流群</td>
			<td>
				<a target="_blank" href="http://wp.qq.com/wpa/qunwpa?idkey=874aa2f28317557b6f0874692c927974611b0c193c9b36ab17b64f9cbd43e5ad" style="color: #428bca;">32385562</a>
			</td>
		</tr>
		<tr>
			<td class="text-left">相关链接</td>
			<td>
				<a href="http://www.we7.cc/" class="lightlink2" target="_blank" style="color: #428bca;">公司网站</a>&nbsp;&nbsp;
				<a href="http://www.we7.cc/purchase.html" class="lightlink2" target="_blank" style="color: #428bca;">购买授权</a>&nbsp;&nbsp;
				<a href="http://s.we7.cc/" class="lightlink2" target="_blank" style="color: #428bca;">更多模块</a>&nbsp;&nbsp;
				<a href="http://www.kancloud.cn/donknap/we7/136556" class="lightlink2" target="_blank" style="color: #428bca;">文档</a>&nbsp;&nbsp;
				<a href="http://bbs.we7.cc/" class="lightlink2" target="_blank" style="color: #428bca;">讨论区</a>
			</td>
		</tr>
	</table>
	{/if}
	<script type="text/javascript">
        angular.module('systemApp').value('config', {
            'get_attach_size_url' : "{php echo url('system/systeminfo', array('do' => 'get_attach_size'))}"
        });
        angular.bootstrap($('#system-info'), ['systemApp']);
	</script>
</div>
{template 'common/footer'}
